package com.igeek.car.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("checi")
@ApiModel(value="Checi对象", description="")
public class Checi implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "调度编号，唯一标识车次调度任务")
    @TableId(value = "dispatch_id", type = IdType.AUTO)
    private String dispatchId;

    @ApiModelProperty(value = "线路编号，关联对应的长途汽车线路")
    private String routeId;

    @ApiModelProperty(value = "车次编号，唯一标识长途汽车车次")
    private String tripId;

    @ApiModelProperty(value = "调度时间，记录调度任务下达时间")
    private LocalDateTime dispatchTime;

    @ApiModelProperty(value = "预计发车时间，调度计划中的出发时间")
    private LocalDateTime expectedDepartureTime;

    @ApiModelProperty(value = "实际发车时间，长途汽车实际出发时间")
    private LocalDateTime actualDepartureTime;

    @ApiModelProperty(value = "预计到达时间调整，调整后的预计到达时间")
    private LocalDateTime adjustedExpectedArrivalTime;

    @ApiModelProperty(value = "车辆编号，执行此次调度任务的车辆编号")
    private String vehicleId;

    @ApiModelProperty(value = "司机编号，执行驾驶任务的司机编号")
    private String driverId;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "调度状态，如已调度、调度中、取消调度等")
    private String dispatchStatus;

    @ApiModelProperty(value = "调度原因，特殊调度的原因说明")
    private String dispatchReason;


}
